#pragma once

#include "Instrument.h"
#include "WavePlayer.h"
#include "ADSR.h"

class CDrumSynth : public CInstrument
{
public:
	CDrumSynth(void);
	~CDrumSynth(void);

	virtual void Start();
	virtual bool Generate();
	virtual void SetNote(CNote *note);

	CWavePlayer *GetPlayer() { return &m_wavePlayer; }

private:
	CWavePlayer m_wavePlayer;
	CADSR m_AR;

	
};

